﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IEncodeProperties.cs" company="XamlNinja">
//   2011 Richard Griffin and Ollie Riches
// </copyright>
// <summary>
//   Interface defining a method for encoding a property into a string.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace WP7Contrib.Communications
{
    /// <summary>
    /// Interface defining a method for encoding a property into a string.
    /// </summary>
    public interface IEncodeProperties
    {
        /// <summary>
        /// Encodes the param as a string.
        /// </summary>
        /// <param name="param">
        /// The param to be encoded.
        /// </param>
        /// <returns>
        /// Returns the encoded properties as a string
        /// </returns>
        string Encode(object @param);
    }
}